body{
    background: #f3f3f3;
}

.jd_safe_tip{
    width: 100%;
    height: 36px;
    line-height: 36px;
    text-align: center;

    background: #fff;
}

.jd_safe_tip span{
    font-size: 14px;

    position: relative;
    padding-left: 20px;
    /*display: inline-block;*/
}

.jd_safe_tip span::before{
    content: "";
    background: url("../images/safe_icon.png") no-repeat;

    -webkit-background-size: 18px 18px;
    background-size: 18px 18px;

    width: 18px;
    height: 18px;

    position: absolute;
    left: 0;
    top: 0;
}

/* 商铺们 */

.jd_shop_group{
    padding: 10px;
}

.jd_shop_group .jd_shop{
    width: 100%;
    /* 测试高度 */
    /*height: 200px;*/
    background: #fff;
}

/*商铺顶部*/
.jd_shop .jd_shop_header{
    width: 100%;
    height: 44px;
    /*background: orange;*/
}
.jd_shop_header .shop_header_left{
    float: left;
    height: 44px;
    width: 44px;
    
    position: relative;
}
.checkbox{
    position: absolute;
    left: 7px;
    top: 12px;

    background: url("../images/shop-icon.png") no-repeat;
    -webkit-background-size: 50px 100px;
    background-size: 50px 100px;

    background-position: -25px 0;
    width: 20px;
    height: 20px;
}
.checkbox[checked]{
    background-position: 0 0;
}

.jd_shop_header .shop_header_con{
    width: 100%;
    height: 44px;
    line-height: 44px;
    padding-left: 50px;
}

.shop_header_con .shop_title{
    display: inline-block;


    position: relative;
}

.shop_header_con .shop_title .shop_title_logo{
    position: absolute;
    left: 0;
    top: 14px;

    background: url("../images/buy-logo.png") no-repeat;

    -webkit-background-size: 16px 16px;
    background-size: 16px 16px;

    width: 16px;
    height: 16px;
}
.shop_header_con .shop_title .shop_title_name{
    margin-left: 20px;
}

.shop_header_con .shop_transport_info{
    color: #f23030;
    text-align: right;
    float: right;
    margin-right: 7px;
}

.jd_shop .shop_goods{
    border-bottom: 2px solid #e0e0e0;
    
}

.shop_goods .goods_left{
    position: relative;
}
.shop_goods .checkbox{
    top: 35px;
}

.shop_goods .goods_con{
    width: 100%;
    padding-left: 30px;
    /*background: lightblue;*/
}

.goods_con .goods_con_link{
    float: left;
    display: block;
    width: 88px;
    height: 88px;
    margin-top: 10px;
}
.goods_con .goods_con_link img{
    display: block;
    width: 100%;
    height: 100%;
}

.goods_con .goods_con_detail{
    overflow: hidden;
    padding: 10px;
}

.goods_con_detail .detail_desc{
    height: 29px;
    line-height: 15px;
    font-size: 13px;
    /* 少了两行的限制hidden */
    overflow: hidden;
}
.goods_con_detail .detail_price{
    font-size: 16px;
    color: #f23030;
    margin-top: 5px;
}

.goods_con_detail .detail_bottom{
    margin-top: 5px;
}

.detail_bottom .goods_count{
    float: left;
    border: 1px solid #e0e0e0;
}

.detail_bottom .goods_count span{
    display: block;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
}
.detail_bottom .goods_count .minus{
    float: left;
}
.detail_bottom .goods_count .add{
    float: right;
}
.detail_bottom .goods_count input{
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    width: 50px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

.detail_bottom .rubbishbox{
    float: right;
}

.rubbishbox .up{
    display: block;

    background: url("../images/delete_up.png") no-repeat;
    -webkit-background-size: 18px 4px;
    background-size: 18px 4px;

    width: 18px;
    height: 4px;
}

.rubbishbox .down{
    display: block;

    background: url("../images/delete_down.png") no-repeat;
    -webkit-background-size: 18px 18px;
    background-size: 18px 18px;

    width: 18px;
    height: 18px;
    margin-top: -3px;
}


/*自定义alert*/
.alert_cover{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0 ,0, 0.6);
}

.alert_cover .alert{
    position: absolute;
    left: 5%;
    top: 190px;

    width: 90%;
    /*测试高度*/
    /*height: 90px;*/
    background: #fff;

    border: 1px solid #e0e0e0;
    border-radius: 5px;
}

.alert .alert_top{
    width: 100%;
    height: 44px;
    line-height: 44px;
    text-align: center;
    font-size: 16px;

    border-bottom: 1px solid #e0e0e0;
}

.alert .alert_bottom{
    width: 100%;
    height: 50px;
    padding: 10px;
}

.alert_bottom .alert_bottom_left,
.alert_bottom .alert_bottom_right{
    width: 45%;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border: 1px solid #e0e0e0;
    border-radius: 5px;

}

.alert_bottom .alert_bottom_left{
    float: left;
    background: #f23030;
    color: #fff;
}

.alert_bottom .alert_bottom_right{
    float: right;
}


.spring_jump{
    animation: spring_jump 1s ease;
}

@keyframes spring_jump {
    0%{
        opacity: 0;
        transform: translateY(-3000px);
    }
    65%{
        opacity: 1;
        transform: translateY(40px);
    }
    75%{
        opacity: 1;
        transform: translateY(-20px);
    }
    85%{
        opacity: 1;
        transform: translateY(10px);
    }
    95%{
         opacity: 1;
         transform: translateY(-5px);
     }
    100%{
        opacity: 1;
        transform: translateY(0px);
    }
}

/* optional */
@-webkit-keyframes spring_jump {
    0%{
        opacity: 0;
        transform: translateY(-3000px);
    }
    65%{
        opacity: 1;
        transform: translateY(40px);
    }
    75%{
        opacity: 1;
        transform: translateY(-20px);
    }
    85%{
        opacity: 1;
        transform: translateY(10px);
    }
    95%{
        opacity: 1;
        transform: translateY(-5px);
    }
    100%{
        opacity: 1;
        transform: translateY(0px);
    }
}